<?php



class SynthesisMapBuilder {

	
	const CLASS_NAME = 'lib.model.map.SynthesisMapBuilder';

	
	private $dbMap;

	
	public function isBuilt()
	{
		return ($this->dbMap !== null);
	}

	
	public function getDatabaseMap()
	{
		return $this->dbMap;
	}

	
	public function doBuild()
	{
		$this->dbMap = Propel::getDatabaseMap('propel');

		$tMap = $this->dbMap->addTable('synthesis');
		$tMap->setPhpName('Synthesis');

		$tMap->setUseIdGenerator(true);

		$tMap->addPrimaryKey('ID', 'Id', 'int', CreoleTypes::INTEGER, true, null);

		$tMap->addColumn('MEMBER_ID', 'MemberId', 'int', CreoleTypes::INTEGER, false, null);

		$tMap->addColumn('SMITHING', 'Smithing', 'string', CreoleTypes::LONGVARCHAR, false, null);

		$tMap->addColumn('CLOTHCRAFT', 'Clothcraft', 'string', CreoleTypes::LONGVARCHAR, false, null);

		$tMap->addColumn('ALCHEMY', 'Alchemy', 'string', CreoleTypes::LONGVARCHAR, false, null);

		$tMap->addColumn('WOODWORKING', 'Woodworking', 'string', CreoleTypes::LONGVARCHAR, false, null);

		$tMap->addColumn('GOLDSMITHING', 'Goldsmithing', 'string', CreoleTypes::LONGVARCHAR, false, null);

		$tMap->addColumn('LETHERCRAFT', 'Lethercraft', 'string', CreoleTypes::LONGVARCHAR, false, null);

		$tMap->addColumn('BORNCRAFT', 'Borncraft', 'string', CreoleTypes::LONGVARCHAR, false, null);

		$tMap->addColumn('FISHING', 'Fishing', 'string', CreoleTypes::LONGVARCHAR, false, null);

		$tMap->addColumn('COOKING', 'Cooking', 'string', CreoleTypes::LONGVARCHAR, false, null);

		$tMap->addColumn('SYNERGY', 'Synergy', 'string', CreoleTypes::LONGVARCHAR, false, null);

	} 
} 